package com.ycl2.imports.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 袁成龙
 * @since 2020-10-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("base_import_task_header")
public class BaseImportTaskHeader implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("status")
    private Integer status;

    @TableField("path")
    private String path;

    @TableField("oknum")
    private Integer oknum;

    @TableField("version")
    private Integer version;

    @TableField("sharid")
    private Integer sharid;

    @TableField("pid")
    private Integer pid;

    public BaseImportTaskHeader(Integer id, Integer status, String path, Integer oknum, Integer version,Integer sharid,Integer pid) {
        this.id = id;
        this.status = status;
        this.path = path;
        this.oknum = oknum;
        this.version = version;
        this.sharid=sharid;
        this.pid=pid;
    }


}
